<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
//  模板字符串
    // 其实就是es6内新增定义字符串的方式
    // 以前
      var str='内容'
      var str="内容"
      var str=`内
      容`
      var age=18
      var s1=`我是纸茶,今年${age}岁`
     console.log(s1)
    </script>
</body>
</html>